package com.codehacker.job.mallservice.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * OssConfig
 *
 * @author zhuyuwei
 * @date 18/05/2017
 */
@Component
public class OssConfig {
    @Value("${oss.domain.name}")
    private String ossDomainName;

    @Value("${oss.access.key}")
    private String ossAccessKey;

    @Value("${oss.secret.key}")
    private String ossSecretKey;

    public String getOssDomainName() {
        return ossDomainName;
    }

    public void setOssDomainName(String ossDomainName) {
        this.ossDomainName = ossDomainName;
    }

    public String getOssAccessKey() {
        return ossAccessKey;
    }

    public void setOssAccessKey(String ossAccessKey) {
        this.ossAccessKey = ossAccessKey;
    }

    public String getOssSecretKey() {
        return ossSecretKey;
    }

    public void setOssSecretKey(String ossSecretKey) {
        this.ossSecretKey = ossSecretKey;
    }
}
